class ClassReflectionManager{
  static Map<String,dynamic> reflectMap = {};
  static void registClass(String key,dynamic obj){
    reflectMap[key] = obj;
  }
  static dynamic getClassInstance(String key){
    dynamic entity = reflectMap[key];
    try{
      if (entity == null){
        throw Exception("你想要的实例对象不存在,或者你用的实例对象为基本数据类型");
      }
    }catch(e){
      print("e:$e");
    }
    return entity;
  }
}